package com.fourth.shopping.mapper;


import com.fourth.shopping.dto.AdminUserTable;
import com.fourth.shopping.entity.Administrator;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AdministratorMapper {

    Administrator login(@Param("username") String username, @Param("password") String password);

    List<AdminUserTable> getAllAdmin();
}